package com.motong.gongdan.vo.system.otherVo;

import com.motong.gongdan.entity.StockDetail;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;
import java.util.List;

@Data
@Accessors(chain = true)
@ApiModel("添加出入库信息")
public class StockHandleVo {

    @ApiModelProperty("出入库信息id")
    private Integer id;

    @ApiModelProperty("出入库单类型(0 入库单,1 出库单)")
    private Integer type;

    @ApiModelProperty("时间")
    private Date time;

    @ApiModelProperty("出入库细分类型")
    private String typeOther;

    @ApiModelProperty("编码")
    private String code;

    @ApiModelProperty("备注")
    private String comment;

    @ApiModelProperty("自定义字段")
    private String other;

    @ApiModelProperty("自定义字段")
    private List<CustomFieldVo> customFieldVos;

    @ApiModelProperty("商品明细相")
    private List<StockDetail> stockDetails;

}
